import pymysql
import pytest

from config.config import *


@pytest.fixture(scope="session",autouse=True)
def init():

    yield
    # conn = pymysql.Connect(
    #     host=HOST,
    #     port=PORT,
    #     database=DATABASE,
    #     user=USER,
    #     password=PASSWORD,
    #     charset=CHARSET
    # )
    # # 建桥
    # cur = conn.cursor()
    # sql = [SQL1,SQL2,SQL3]
    # for i in sql:
    #     cur.execute(i)
    #
    # cur.close()
    # conn.close()
